package com.tyf.bookreader;

import com.tyf.bookreader.dto.OrderDto;
import com.tyf.bookreader.mapper.BrOrderDetailsMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/5/5 16:41
 */
@SpringBootTest(classes = BookReaderApplication.class)
public class testOrder {
    @Autowired
    private BrOrderDetailsMapper orderDetailsMapper;

    @Test
    void testSelect(){
        OrderDto orderDto = orderDetailsMapper.selectOrderDtoByOrderId(1654390515880144897L);
        System.out.println("orderDto = " + orderDto);
    }
}
